package com.example.springboottest.example.generics;

public class Apple<T> {
    private T t;

    public Apple() {
    }

    public Apple(T t) {
        this.t = t;
    }

    public T info() {
        return this.t;
    }

    @Override
    public String toString() {
        return "Apple{" +
                "t=" + t +
                '}';
    }
}
